import { createRouter, createWebHashHistory } from "vue-router";
import globalRoutes from "./globalRoutes";

const router = createRouter({
  history: createWebHashHistory(),
  scrollBehavior: () => ({ y: 0 }),
  isAddDynamicMenuRoutes: false, // 是否已经添加动态(菜单)路由
  routes: globalRoutes,
});
export default router;